package com.mnsq.common.dao;

import com.mnsq.common.bean.entity.permission.RoleMenus;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author 周俭
 */
public interface RoleMenusRepository extends JpaRepository<RoleMenus, Long> {

    List<RoleMenus> findAllByRoleId(Long roleId);
}
